import DefaultTheme from 'vitepress/theme'

import XIcon from '@xu-ui/components/icon'
import '@xu-ui/theme-chalk/index.scss'
console.log(XIcon)

export default {
  ...DefaultTheme,
  enhanceApp({ app }) {
    app.use(XIcon) // 在vitepress中 注册全局组件
  }
}
